package com.karaoke.android.library.utils

/**
 * Created by allen on 2017/5/2.
 */
object Utils
{
    private var lastClickTime: Long = 0
    @Synchronized fun isFastClick(): Boolean
    {
        val time = System.currentTimeMillis()
        if (time - lastClickTime < 500)
        {
            return true
        }
        lastClickTime = time
        return false
    }
}